/*______________________________________
 |                                      |
 |       Mac OS X Lion with CSS3        |
 |--------------------------------------|
 |       Original work by               |
 |                Alessio Atzeni        |
 |     Modified heavily for PrimeFaces  |
 |......................................|
 |     check it out at...               |
 | alessioatzeni.com/mac-osx-lion-css3  |
 |______________________________________|
 */
.ui-dock {
	position: absolute;
	left: 0;
	z-index: 9999;
	width: 100%;
	text-align: center;
}
.ui-dock.bottom {
	bottom: 0;
}
.ui-dock.top {
    top: 0;
}
.ui-dock-container {
	position: relative;
	display: inline-block;
	padding: 0 5px;
	margin: 0;
}
.ui-dock-container.bottom {
    background: url('') repeat-x bottom;
}
.ui-dock-container.top {
    background: url('') repeat-x top;
}
.ui-dock-container.center {
    float: none;
}
.ui-dock-container.right {
    float: right;
}
.ui-dock-container.left {
    float: left;
}
.ui-dock-container:before, .ui-dock-container:after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: 38px;
}
.ui-dock-container.bottom:before {
	left: -38px;
	background: url('') no-repeat left bottom;
}
.ui-dock-container.top:after {
    left: -38px;
    background: url('') no-repeat left top;
}
.ui-dock-container.bottom:after {
	right: -38px;
	background: url('') no-repeat right bottom;
}
.ui-dock-container.top:before {
    right: -38px;
    background: url('') no-repeat right top;
}
.ui-dock li {
	display: inline-block;
	position: relative;
	margin: 0 0 15px 0;
	-webkit-box-reflect: below -16px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(91%, rgba(255, 255, 255, .1)), color-stop(91.01%, transparent), to(transparent));
}
.ui-dock a {
	display: block;
	cursor: default;
	outline: none;
}
/* Tooltips */
.ui-dock em {
	position: absolute;
	left: 50%;
	display: none;
	width: 150px;
	margin-left: -75px;
	text-align: center;
}
.ui-dock.bottom em {
    top: -34px;
}
.ui-dock.top em {
    top: 114px;
}
.ui-dock em:after {
	content: " ";
	position: absolute;
	bottom: -6px;
	left: 50%;
	margin-left: -6px;
	width: 0;
	height: 0;
}
.ui-dock.bottom em:after {
    bottom: -6px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(0, 0, 0, 0.6);
    border-bottom: none;
}
.ui-dock.top em:after {
    top: -6px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top:  none;
    border-bottom: 6px solid rgba(0, 0, 0, 0.6);
}
.ui-dock em span {
	display: inline-block;
	padding: 5px 12px;
	background: rgba(0, 0, 0, 0.6);
	font-style:normal;
	font-size:12px;
	color:#fff;
	text-shadow:0 1px 1px #000;
	border-radius: 10px;
}
.ui-dock li:hover em {
	display: block;
}
/* Images */
.ui-dock img {
	width: 48px;
	height: auto;
	border: none;
	transition:all 0.1s linear;
	-webkit-transition:all 0.1s linear;
	-moz-transition:all 0.1s linear;
}
.ui-dock-item.active:hover img {
	width: 128px;
}
.ui-dock-item.prev img, .ui-dock-item.next img {
	width:96px;
}
.ui-dock-item.prev-anchor img, .ui-dock-item.next-anchor img {
	width:72px;
}
.ui-dock li a .fresh {
	content: " ";
	position: absolute;
	bottom: -8px;
	left: 50%;
	width: 8px;
	height: 6px;
	opacity:1;
	background-color: rgba(255, 255, 255, .8);
	margin-left: -2px;
	border-radius:100%;
	box-shadow: inset 0 1px 3px rgba(75, 255, 255, .4), 0 0 4px rgba(75, 255, 255, .5), 0 -1px 7px rgb(75, 255, 255);
	-webkit-box-reflect: below 5px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(91%, rgba(255, 255, 255, 0.5)), color-stop(91.01%, transparent), to(transparent));
}
/* Animation */
.ui-dock-bounce {
	animation: ui-dock-bounce 0.4s 4 alternate ease-out;
	-webkit-animation: ui-dock-bounce 0.4s 4 alternate ease-out;
	-moz-animation: ui-dock-bounce 0.4s 4 alternate ease-out;
}
@keyframes ui-dock-bounce {
      0% { transform: translateY(0); }
    100% { transform: translateY(-20px); }
}
@-webkit-keyframes ui-dock-bounce {
	  0% { -webkit-transform: translateY(0); }
	100% { -webkit-transform: translateY(-20px); }
}
@-moz-keyframes ui-dock-bounce {
	  0% { -moz-transform: translateY(0); }
	100% { -moz-transform: translateY(-20px); }
}
